package com.itlong.cloud.tapd.common.POJO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <des>
 *    项目
 * <des>
 *
 * @create Date 2021-09-07
 **/
@NoArgsConstructor
@AllArgsConstructor
@Data
public class WorkspacePO implements Serializable {

    private String id;

    private String name;

    private String pretty_name;

    private String category;

    private String status;

    private String description;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date begin_date;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date end_date;

    private String external_on;

    private String creator;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date created;
}
